<useTPL id="form_title" formtype="text" field="title" value="$title" name="标题">
    <setType name="文本框长度">
        <setVal id="['setting']['size']">50</setVal>
    </setType>
    <setType name="默认值">
        <setVal id="['setting']['defaultvalue']"></setVal>
    </setType>
    <!--单选框,下拉-->
    <setType name="是否为密码框">
        <setVal id="['setting']['ispassword']" name="否">0</setVal>
    </setType>
    <setType name="字段提示">
        <setVal id="['tips']">请填写标题</setVal>
    </setType>
</useTPL>
<showTPL name="title">
    <tr>
        <th width="80">
            <if condition="$form['star']"> <font color="red">*</font>
            </if>
            {$form['name']}
        </th>
        <td>{$form['form']}{$form['tips']}</td>
    </tr>
</showTPL>